package com.qimencloud.api.scenehu3cgwt0tc.response;

import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API(QimenCloud): wdt.stockout.order.query.trade response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class WdtStockoutOrderQueryTradeResponse extends TaobaoResponse {

	private static final long serialVersionUID = 4439186733476668452L;

	/** 
	 * 错误码
	 */
	@ApiField("errorcode")
	private Long errorcode;

	/** 
	 * 错误描述
	 */
	@ApiField("message")
	private String message;

	/** 
	 * 出库单详情
	 */
	@ApiListField("stockout_list")
	@ApiField("array")
	private List<Array> stockoutList;

	/** 
	 * 数据条数
	 */
	@ApiField("total_count")
	private Long totalCount;


	public void setErrorcode(Long errorcode) {
		this.errorcode = errorcode;
	}
	public Long getErrorcode( ) {
		return this.errorcode;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	public String getMessage( ) {
		return this.message;
	}

	public void setStockoutList(List<Array> stockoutList) {
		this.stockoutList = stockoutList;
	}
	public List<Array> getStockoutList( ) {
		return this.stockoutList;
	}

	public void setTotalCount(Long totalCount) {
		this.totalCount = totalCount;
	}
	public Long getTotalCount( ) {
		return this.totalCount;
	}
	
	/**
 * Sku详情节点
 *
 * @author top auto create
 * @since 1.0, null
 */
 
public static class Array {

	/**
		 * 条码
		 */
		@ApiField("barcode")
		private String barcode;
		/**
		 * 打印批次
		 */
		@ApiField("batch_no")
		private String batchNo;
		/**
		 * 品牌名称
		 */
		@ApiField("brand_name")
		private String brandName;
		/**
		 * 品牌编号
		 */
		@ApiField("brand_no")
		private String brandNo;
		/**
		 * 成本价
		 */
		@ApiField("cost_price")
		private String costPrice;
		/**
		 * 折扣
		 */
		@ApiField("discount")
		private String discount;
		/**
		 * 1手机订单 2聚划算 4服务子订单 8家装 16二次付款 32开具电子发票 1024库存不足 2048当日达 4096次日达 8192预约时效
		 */
		@ApiField("from_mask")
		private String fromMask;
		/**
		 * 是否是赠品 0非赠品 1自动赠送 2手工赠送
		 */
		@ApiField("gift_type")
		private Long giftType;
		/**
		 * 货品档案自定义属性1
		 */
		@ApiField("good_prop1")
		private String goodProp1;
		/**
		 * 货品档案自定义属性2
		 */
		@ApiField("good_prop2")
		private String goodProp2;
		/**
		 * 货品档案自定义属性3
		 */
		@ApiField("good_prop3")
		private String goodProp3;
		/**
		 * 货品档案自定义属性4
		 */
		@ApiField("good_prop4")
		private String goodProp4;
		/**
		 * 货品档案自定义属性5
		 */
		@ApiField("good_prop5")
		private String goodProp5;
		/**
		 * 货品档案自定义属性6
		 */
		@ApiField("good_prop6")
		private String goodProp6;
		/**
		 * 货品数量
		 */
		@ApiField("goods_count")
		private String goodsCount;
		/**
		 * 货品id
		 */
		@ApiField("goods_id")
		private Long goodsId;
		/**
		 * 货品名称
		 */
		@ApiField("goods_name")
		private String goodsName;
		/**
		 * 货品编号
		 */
		@ApiField("goods_no")
		private String goodsNo;
		/**
		 * 货品类型： 1销售商品 2原材料 3包装 4周转材料5虚拟商品6固定资产 0其它
		 */
		@ApiField("goods_type")
		private Long goodsType;
		/**
		 * 市场价
		 */
		@ApiField("market_price")
		private String marketPrice;
		/**
		 * 已支付金额
		 */
		@ApiField("paid")
		private String paid;
		/**
		 * 平台ID
		 */
		@ApiField("platform_id")
		private Long platformId;
		/**
		 * 单品列表自定义属性1
		 */
		@ApiField("prop1")
		private String prop1;
		/**
		 * 单品列表自定义属性2
		 */
		@ApiField("prop2")
		private String prop2;
		/**
		 * 单品列表自定义属性3
		 */
		@ApiField("prop3")
		private String prop3;
		/**
		 * 单品列表自定义属性4
		 */
		@ApiField("prop4")
		private String prop4;
		/**
		 * 单品列表自定义属性5
		 */
		@ApiField("prop5")
		private String prop5;
		/**
		 * 单品列表自定义属性6
		 */
		@ApiField("prop6")
		private String prop6;
		/**
		 * erp子订单ID
		 */
		@ApiField("rec_id")
		private Long recId;
		/**
		 * 退款状态 0无退款 1申请退款 2部分退款 3全部退款
		 */
		@ApiField("refund_status")
		private Long refundStatus;
		/**
		 * 备注
		 */
		@ApiField("remark")
		private String remark;
		/**
		 * 订单详情主键
		 */
		@ApiField("sale_order_id")
		private Long saleOrderId;
		/**
		 * 销售价,最终交易价格,扣除优惠
		 */
		@ApiField("sell_price")
		private String sellPrice;
		/**
		 * 分摊后合计应收=share_price*num,share_price是根据share_amount反推的,因此share_price可能有精度损失
		 */
		@ApiField("share_amount")
		private String shareAmount;
		/**
		 * 邮费分摊
		 */
		@ApiField("share_post")
		private String sharePost;
		/**
		 * 规格编号
		 */
		@ApiField("spec_code")
		private String specCode;
		/**
		 * 商品主键
		 */
		@ApiField("spec_id")
		private Long specId;
		/**
		 * 规格名称
		 */
		@ApiField("spec_name")
		private String specName;
		/**
		 * 商家编码
		 */
		@ApiField("spec_no")
		private String specNo;
		/**
		 * 原始子订单号
		 */
		@ApiField("src_oid")
		private String srcOid;
		/**
		 * 原始订单号
		 */
		@ApiField("src_tid")
		private String srcTid;
		/**
		 * 出库单主键id
		 */
		@ApiField("stockout_id")
		private Long stockoutId;
		/**
		 * 组合装编码
		 */
		@ApiField("suite_no")
		private String suiteNo;
		/**
		 * 税率
		 */
		@ApiField("tax_rate")
		private String taxRate;
		/**
		 * 总货款,sell_price*goods_count=total_amount
		 */
		@ApiField("total_amount")
		private String totalAmount;
		/**
		 * 基本单位名称
		 */
		@ApiField("unit_name")
		private String unitName;
		/**
		 * 重量
		 */
		@ApiField("weight")
		private String weight;
	

	public String getBarcode() {
			return this.barcode;
		}
		public void setBarcode(String barcode) {
			this.barcode = barcode;
		}
		public String getBatchNo() {
			return this.batchNo;
		}
		public void setBatchNo(String batchNo) {
			this.batchNo = batchNo;
		}
		public String getBrandName() {
			return this.brandName;
		}
		public void setBrandName(String brandName) {
			this.brandName = brandName;
		}
		public String getBrandNo() {
			return this.brandNo;
		}
		public void setBrandNo(String brandNo) {
			this.brandNo = brandNo;
		}
		public String getCostPrice() {
			return this.costPrice;
		}
		public void setCostPrice(String costPrice) {
			this.costPrice = costPrice;
		}
		public String getDiscount() {
			return this.discount;
		}
		public void setDiscount(String discount) {
			this.discount = discount;
		}
		public String getFromMask() {
			return this.fromMask;
		}
		public void setFromMask(String fromMask) {
			this.fromMask = fromMask;
		}
		public Long getGiftType() {
			return this.giftType;
		}
		public void setGiftType(Long giftType) {
			this.giftType = giftType;
		}
		public String getGoodProp1() {
			return this.goodProp1;
		}
		public void setGoodProp1(String goodProp1) {
			this.goodProp1 = goodProp1;
		}
		public String getGoodProp2() {
			return this.goodProp2;
		}
		public void setGoodProp2(String goodProp2) {
			this.goodProp2 = goodProp2;
		}
		public String getGoodProp3() {
			return this.goodProp3;
		}
		public void setGoodProp3(String goodProp3) {
			this.goodProp3 = goodProp3;
		}
		public String getGoodProp4() {
			return this.goodProp4;
		}
		public void setGoodProp4(String goodProp4) {
			this.goodProp4 = goodProp4;
		}
		public String getGoodProp5() {
			return this.goodProp5;
		}
		public void setGoodProp5(String goodProp5) {
			this.goodProp5 = goodProp5;
		}
		public String getGoodProp6() {
			return this.goodProp6;
		}
		public void setGoodProp6(String goodProp6) {
			this.goodProp6 = goodProp6;
		}
		public String getGoodsCount() {
			return this.goodsCount;
		}
		public void setGoodsCount(String goodsCount) {
			this.goodsCount = goodsCount;
		}
		public Long getGoodsId() {
			return this.goodsId;
		}
		public void setGoodsId(Long goodsId) {
			this.goodsId = goodsId;
		}
		public String getGoodsName() {
			return this.goodsName;
		}
		public void setGoodsName(String goodsName) {
			this.goodsName = goodsName;
		}
		public String getGoodsNo() {
			return this.goodsNo;
		}
		public void setGoodsNo(String goodsNo) {
			this.goodsNo = goodsNo;
		}
		public Long getGoodsType() {
			return this.goodsType;
		}
		public void setGoodsType(Long goodsType) {
			this.goodsType = goodsType;
		}
		public String getMarketPrice() {
			return this.marketPrice;
		}
		public void setMarketPrice(String marketPrice) {
			this.marketPrice = marketPrice;
		}
		public String getPaid() {
			return this.paid;
		}
		public void setPaid(String paid) {
			this.paid = paid;
		}
		public Long getPlatformId() {
			return this.platformId;
		}
		public void setPlatformId(Long platformId) {
			this.platformId = platformId;
		}
		public String getProp1() {
			return this.prop1;
		}
		public void setProp1(String prop1) {
			this.prop1 = prop1;
		}
		public String getProp2() {
			return this.prop2;
		}
		public void setProp2(String prop2) {
			this.prop2 = prop2;
		}
		public String getProp3() {
			return this.prop3;
		}
		public void setProp3(String prop3) {
			this.prop3 = prop3;
		}
		public String getProp4() {
			return this.prop4;
		}
		public void setProp4(String prop4) {
			this.prop4 = prop4;
		}
		public String getProp5() {
			return this.prop5;
		}
		public void setProp5(String prop5) {
			this.prop5 = prop5;
		}
		public String getProp6() {
			return this.prop6;
		}
		public void setProp6(String prop6) {
			this.prop6 = prop6;
		}
		public Long getRecId() {
			return this.recId;
		}
		public void setRecId(Long recId) {
			this.recId = recId;
		}
		public Long getRefundStatus() {
			return this.refundStatus;
		}
		public void setRefundStatus(Long refundStatus) {
			this.refundStatus = refundStatus;
		}
		public String getRemark() {
			return this.remark;
		}
		public void setRemark(String remark) {
			this.remark = remark;
		}
		public Long getSaleOrderId() {
			return this.saleOrderId;
		}
		public void setSaleOrderId(Long saleOrderId) {
			this.saleOrderId = saleOrderId;
		}
		public String getSellPrice() {
			return this.sellPrice;
		}
		public void setSellPrice(String sellPrice) {
			this.sellPrice = sellPrice;
		}
		public String getShareAmount() {
			return this.shareAmount;
		}
		public void setShareAmount(String shareAmount) {
			this.shareAmount = shareAmount;
		}
		public String getSharePost() {
			return this.sharePost;
		}
		public void setSharePost(String sharePost) {
			this.sharePost = sharePost;
		}
		public String getSpecCode() {
			return this.specCode;
		}
		public void setSpecCode(String specCode) {
			this.specCode = specCode;
		}
		public Long getSpecId() {
			return this.specId;
		}
		public void setSpecId(Long specId) {
			this.specId = specId;
		}
		public String getSpecName() {
			return this.specName;
		}
		public void setSpecName(String specName) {
			this.specName = specName;
		}
		public String getSpecNo() {
			return this.specNo;
		}
		public void setSpecNo(String specNo) {
			this.specNo = specNo;
		}
		public String getSrcOid() {
			return this.srcOid;
		}
		public void setSrcOid(String srcOid) {
			this.srcOid = srcOid;
		}
		public String getSrcTid() {
			return this.srcTid;
		}
		public void setSrcTid(String srcTid) {
			this.srcTid = srcTid;
		}
		public Long getStockoutId() {
			return this.stockoutId;
		}
		public void setStockoutId(Long stockoutId) {
			this.stockoutId = stockoutId;
		}
		public String getSuiteNo() {
			return this.suiteNo;
		}
		public void setSuiteNo(String suiteNo) {
			this.suiteNo = suiteNo;
		}
		public String getTaxRate() {
			return this.taxRate;
		}
		public void setTaxRate(String taxRate) {
			this.taxRate = taxRate;
		}
		public String getTotalAmount() {
			return this.totalAmount;
		}
		public void setTotalAmount(String totalAmount) {
			this.totalAmount = totalAmount;
		}
		public String getUnitName() {
			return this.unitName;
		}
		public void setUnitName(String unitName) {
			this.unitName = unitName;
		}
		public String getWeight() {
			return this.weight;
		}
		public void setWeight(String weight) {
			this.weight = weight;
		}

}



}
